package com.lakeworks.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lakeworks.common.annotation.Excel;
import com.lakeworks.common.domain.base.BaseDomain;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 入厂附件对象 opr_attachment
 *
 * @author lake
 * @date 2023-02-08
 */
@Data
@Accessors(chain = true)
public class OprAttachment extends BaseDomain {
    private static final long serialVersionUID = 1L;

    /**
     * 作业产品ID
     */
    @Excel(name = "作业产品ID")
    private Long productId;

    /**
     * 附件ID
     */
    @Excel(name = "附件ID")
    private Long attachmentId;

    /**
     * 配挂时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "配挂时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attachTime;

    /**
     * 格架号
     */
    @Excel(name = "格架号")
    private String frameNo;

    /**
     * 水洗码
     */
    @Excel(name = "水洗码")
    private String barcode;

    /**
     * 是否扫描
     */
    private Boolean isScan;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String comment;

    private String attName;

}
